/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package toesp.testing;

import java.util.List;
import toesp.bean.JurusanBean;
import toesp.entity.Jurusan;

/**
 *
 * @author satria.sp
 */
public class jurusantesting {
    public static void main(String[] args) {
        JurusanBean jb = new JurusanBean();
        try {
            List<Jurusan> lstJur = jb.getAll();
            for (Jurusan jur : lstJur) {
                System.out.println(jur.getJurusanNama());
            }
        } catch (Exception ex) {
            System.out.println(ex.getMessage());
        }
        
    }
}
